<template>
    <div>
        <van-nav-bar class="custom-nav-bar" title="钱包充值" left-text="返回" left-arrow @click-left="onClickLeft" />
        <div class="head">
            账户余额
        </div>
        <div class="content">
            <div class="title">
                快捷充值
            </div>

            <div class="pal">
                <div class="pal-con">
                    <div class="text">
                        600元
                    </div>
                    <div class="text-b">
                        享9折
                    </div>
                </div>
                <div class="pal-con">
                    <div class="text">
                        1000元
                    </div>
                    <div class="text-b">
                        享8.5折
                    </div>
                </div>
                <div class="pal-con">
                    <div class="text">
                        2000元
                    </div>
                    <div class="text-b">
                        享8折
                    </div>
                </div>
            </div>
            <div class="description">
                充值说明
                <div class="des-con">
                    1、此折扣终身有效;
                </div>
                <div class="des-con">
                    2、充值金额不累计，一次性充值600元享受终身9折优惠,-次性充值1000元享受终身8.5折优惠，一次性充值2000元受终身8折优惠(分开充值的默认最高金额所享受的折扣力度，不累计);
                </div>
                <div class="des-con">
                    3、如有任何问题可联系店长微信/电话:<text>1851223520</text>
                </div>
                <div class="des-con">
                    4、最终解释权归心心精洗所有!
                </div>
            </div>
        </div>
    </div>
</template>

<script lang="ts" setup>
import { useRouter } from 'vue-router';
const router = useRouter();

const onClickLeft = () => {
    router.push('/');
}
</script>

<style lang="less" scoped>
body {
    background-color: #F3F4F6;
}

.head {
    background-color: white;
    width: 100%;
    padding: 30px;
    font-size: 35px;
    color: #888;
}

.content {
    background-color: white;
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    font-size: 35px;
    margin-top: 30px;

    .pal {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        margin-bottom: 50px;

        .pal-con {
            width: 200px;
            height: 130px;
            border: 4px solid #00A299;
            border-radius: 20px;
            text-align: center;

            .text {
                margin-top: 16px;
            }

            .text-b {
                color: #ccc;
                font-size: 30px;
                margin-top: 10px;
            }
        }
    }

    .description {
        .des-con {
            font-size: 30px;
            color: #888;

            text {
                color: #00A299;
            }
        }
    }

}
</style>